// message codes needed when communicating with electronic interlocking system
// to determine what type of message is carried

unit uMessageCodes;

interface

const

  IN_PING = $01;
  OUT_PING = $02;
  IN_SEGMENT_CLEARANCE_REQUEST = $03;
  OUT_SEGMENT_CLEARANCE_RESPONSE = $04;
  IN_SET_TRAIN_SHUNT = $05;
  // OUT_TRAIN_SHUNT_RESPONSE = $06;   // not used
  IN_GET_TRAIN_SHUNT_STATE = $07;
  OUT_GET_TRAIN_SHUNT_STATE = $08;


  MAX_MESSAGE_CODE = $FF;


implementation

end.
